package cn.consult.sys.service;

import cn.consult.sys.entity.TPlaceBuilding;
import cn.consult.sys.vo.SiteTree.SiteTreeVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 楼栋(TPlaceBuilding)表服务接口
 *
 * @author makejava
 * @since 2024-04-01 08:36:15
 */
public interface TPlaceBuildingService extends IService<TPlaceBuilding> {

    List<SiteTreeVo> tree();

    List<TPlaceBuilding> selectByBuildingNameOrType(Map<String, Object> params);

    boolean flagName(String name);

    boolean updateBuliding(TPlaceBuilding tPlaceBuilding);

    boolean saveBuliding(TPlaceBuilding tPlaceBuilding);

    boolean deleteBuliding(Long bulidingId);

}

